<template>
    <div>
        {{date | formatDate}}
        <p v-text="date | formatDate"></p>
    </div>
</template>

<script>
export default {
    data() {
        return {
            date: ''
        }
    },
    
    created() {
        this.date = Date.now();
    }
}

</script>
